package com.jinlingxiu.app.di

import com.jinlingxiu.app.mvp.contract.NoPassContract
import com.jinlingxiu.app.mvp.model.NoPassModel
import com.jinlingxiu.app.mvp.presenter.NoPassPresenter
import com.jinlingxiu.app.mvp.ui.activity.NoPassActivity
import org.koin.dsl.module

val NoPassModule = module {
    scope<NoPassActivity> {
        scoped<NoPassContract.Model> { NoPassModel(get()) }
        scoped {
            NoPassPresenter(get(), this.getSource())
        }
    }
}
